import "./lib/mui/css/mui.css"
import "./lib/mui/css/icons-extra.css"

import Vue from "vue"
import VueRouter from "vue-router"
import VueResource from "vue-resource"
import VuePreview from 'vue-preview'
Vue.use(VuePreview)
Vue.use(VueResource)
Vue.use(VueRouter)
Vue.http.options.root = 'http://www.liulongbin.top:3005';
Vue.http.options.emulateJSON = true;
import app from "./App.vue"
import { Header,Swipe, SwipeItem,Button,Lazyload } from 'mint-ui'
Vue.use(Lazyload);
Vue.component(Header.name,Header)
Vue.component(Swipe.name, Swipe)
Vue.component(SwipeItem.name, SwipeItem)
Vue.component(Button.name, Button);
import router from "./dabao.js"
import moment from "moment"


Vue.use(Lazyload);

Vue.filter('dateFormat',function(datastr,pattern="YYYY-MM-DD HH:mm:ss"){
	return moment(datastr).format(pattern)
})

var vue=new Vue({
	el:"#app",
	data:{},
	render:create=>create(app),	
	router:router
}) 